package com.chare.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chare.pojo.Admin;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.mybatis.spring.annotation.MapperScan;

import javax.management.relation.Role;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author shi
 * @since 2022-06-17
 */

public interface AdminMapper extends BaseMapper<Admin> {

 /*   获得所有操作员信息*/
    List<Admin> gerAllAdmin(@Param("id") Integer id, @Param("keywords")String keywords);

    List<Admin> getAllHrs(Integer id, String keywords);
}
